package com.gxa.logistics.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

public class SpareSaveDTO {

    public Integer getItem_num() {
        return item_num;
    }

    public void setItem_num(Integer item_num) {
        this.item_num = item_num;
    }

    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public Byte getPlan_status() {
        return plan_status;
    }

    public void setPlan_status(Byte plan_status) {
        this.plan_status = plan_status;
    }

    public Byte getIn_status() {
        return in_status;
    }

    public void setIn_status(Byte in_status) {
        this.in_status = in_status;
    }

    public Byte getOut_status() {
        return out_status;
    }

    public void setOut_status(Byte out_status) {
        this.out_status = out_status;
    }

    public Integer getIn_num() {
        return in_num;
    }

    public void setIn_num(Integer in_num) {
        this.in_num = in_num;
    }

    public Integer getOut_num() {
        return out_num;
    }

    public void setOut_num(Integer out_num) {
        this.out_num = out_num;
    }

    public Byte getDis_status() {
        return dis_status;
    }

    public void setDis_status(Byte dis_status) {
        this.dis_status = dis_status;
    }

    public Integer getDcsm_asset() {
        return dcsm_asset;
    }

    public void setDcsm_asset(Integer dcsm_asset) {
        this.dcsm_asset = dcsm_asset;
    }

    public String getItems_dscrip() {
        return items_dscrip;
    }

    public void setItems_dscrip(String items_dscrip) {
        this.items_dscrip = items_dscrip;
    }

    @ApiModelProperty(name = "item_num", notes = "项目编号", dataType = "Integer", required = true)
    @NotNull(message = "项目编号不能为空")
    @TableField("item_num")
    private Integer item_num;





    //项目名称
    @ApiModelProperty(name = "item_name", notes = "项目名称", dataType = "String", required = true)
    @NotNull(message = "项目名称不能为空")
    @TableField("item_name")
    private String item_name;
    //计划状态
    @ApiModelProperty(name = "plan_status", notes = "计划状态", dataType = "Byte", required = true)
    @NotNull(message = "计划状态不能为空")
    @TableField("plan_status")
    private Byte plan_status;
    @ApiModelProperty(name = "in_status", notes = "入库状态", dataType = "Byte", required = true)
    @NotNull(message = "入库状态不能为空")
    //入库状态
    @TableField("in_status")
    private Byte in_status;
    //出库状态
    @ApiModelProperty(name = "out_status", notes = "出库状态", dataType = "Byte", required = true)
    @NotNull(message = "出库状态不能为空")
    @TableField("out_status")
    private Byte out_status;
    //入库数量
    @ApiModelProperty(name = "in_num", notes = "入库数量", dataType = "Integer", required = true)
    @NotNull(message = "入库数量不能为空")
    @TableField("in_num")
    private Integer in_num;
    //出库数量
    @ApiModelProperty(name = "out_num", notes = "出库数量", dataType = "Integer", required = true)
    @NotNull(message = "出库数量不能为空")
    @TableField("out_num")
    private Integer out_num;
    //派单状态
    @ApiModelProperty(name = "DisStatusReqListDTO", notes = "派单状态", dataType = "Byte", required = true)
    @NotNull(message = "派单状态不能为空")
    @TableField("DisStatusReqListDTO")
    private Byte dis_status;
    @ApiModelProperty(name = "model", notes = "型号", dataType = "String", required = true)
    @NotNull(message = "型号不能为空")
    //型号
    private String model;

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }



    @ApiModelProperty(name = "capacity", notes = "容量", dataType = "Integer", required = true)
    @NotNull(message = "容量不能为空")
    //容量
    private Integer capacity;

    //退役资产编号
    @ApiModelProperty(name = "dcsm_asset", notes = "退役资产编号", dataType = "Integer", required = true)
    @NotNull(message = "退役资产编号不能为空")
    @TableField("dcsm_asset")
    private Integer dcsm_asset;
    //物料描述
    @ApiModelProperty(name = "items_dscrip", notes = "物料描述", dataType = "String", required = true)
    @NotNull(message = "物料描述不能为空")
    @TableField("items_dscrip")
    private String items_dscrip;
}
